package zdream.pmfield.stage.action;

import java.util.Objects;

import zdream.pmfield.stage.director.IArchive;

/**
 * @author Zdream
 * @date 2023-11-15
 * @since 0.0.1
 */
public abstract class StageReport implements IArchive {
	public final StageAction action;
	public final float time;

	protected StageReport(StageAction action, float time) {
		this.action = Objects.requireNonNull(action);
		this.time = Objects.requireNonNull(time);
	}

	@Override
	public float getTime() {
		return time;
	}

	@Override
	public StageAction getAction() {
		return action;
	}
}
